package cn.cvs.dao.sysRole;

import cn.cvs.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper {
    List<SysRole> selectList() throws Exception;

    int add(SysRole var1) throws Exception;

    int deleteById(@Param("id") Integer var1) throws Exception;

    int update(SysRole var1) throws Exception;

    SysRole selectById(@Param("id") Integer var1) throws Exception;

    int selectByCode(@Param("code") String var1) throws Exception;
}
